package tut.fileLock.fileChannel;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.nio.channels.FileChannel;

public class FileChannelTest{
	public static void main(String[] args) throws Exception{
		try {
			final String inputFile = "/testfolder/input.txt";
			FileInputStream in = new FileInputStream(inputFile);
			FileChannel fileInputChannel = in.getChannel();
			final String outputFile = "/testfolder/output.txt";
			FileOutputStream out = new FileOutputStream(outputFile);
			FileChannel fileOutputChannel = out.getChannel();
			System.out.println("ded nao nao");
		} catch (Exception e) {
			System.out.println("ded");
		}
	}

}


